package com.tianpengtech.common;

/*
 * 全局常量配置类
 */
public class GlobalConfigConstant {

    public static final int DEFAULT_VALUE_PAGENUM = 1;
    public static final int DEFAULT_VALUE_PAGESIZE = 10;
    public static final int DEFAULT_VALUE_ZERO = 0;


    public static final String DEFAULT_VALUE_EMPTY = "";

    public static final String PARAM_NAME_DRAW = "draw";
    public static final String PARAM_NAME_START = "start";
    public static final String PARAM_NAME_LENGTH = "length";

    public static final String PARAM_NAME_PAGENUM = "pageNum";
    public static final String PARAM_NAME_PAGESIZE = "pageSize";
    public static final String PARAM_NAME_ID = "id";


    public static final String TIP_MSG_SUCCESS = "操作成功";
    public static final String SESSION_KEY_ACCOUNT = "account";

    public static final String REQUIRES_ROLES_ADMIN = "admin";
    public static final String SALT_KEY = "_tianpengtech2017";
    public static final String DEFAULT_PASS_WORD = "123456";


    public static final String CACHENAME_ADMIN="ADMIN";


}
